package cn.tedu.pojo.pet.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 路西斯
 * 5\15 14:50
 */
@Data
public class PetCommodityDTO implements Serializable {
    @ApiModelProperty(value = "宠物品种id",example = "1")
    @NotNull(message = "提交失败，必须指定宠物品种id")
    private Long categoryId;
    @ApiModelProperty(value = "宠物商品名称",example = "金毛一号")
    @NotNull(message = "提交失败，必须给出商品名称")
    private String commodityName;
    @ApiModelProperty(value = "是否启用",example = "0，未启用")
    private Integer isDelete;
}
